import store from '@/store/store';
import layout from '../components/layout.vue';

export default [
    {
        path: '/manufacturingExec',
        name: 'manufacturingExec',
        component: layout,
        children: [
            {
                path: '/manufacturingExec/index',//生产执行首页
                name: 'manufacturingExec',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/manufacturingExec/manufacturingExec/index.vue'),
            },
            {
                path: '/workPlanDetail/index',//计划详情
                name: 'workPlanDetail',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/manufacturingExec/workPlanDetail/index.vue'),
            },
            {
                path: '/workPlanFeeding/index',//投料
                name: 'workPlanFeeding',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/manufacturingExec/workPlanFeeding/index.vue'),
            },
            {
                path: '/workJobReport/index',//投料
                name: 'workJobReport',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/manufacturingExec/workJobReport/index.vue'),
            }


        ]
    },
]
